<section class="box" style="position: relative;">
  <header class="panel_header">
    <h2 class="title pull-left">
      <p>直播类目</p>
    </h2>
  </header>
  <ngx-busy [busy]="busy"></ngx-busy>
  <div class="content-body">
    <table class="responsive-table striped highlight">
      <thead>
        <tr>
          <th>类目</th>
          <th>周销售额</th>
          <th>周销售量</th>
          <th>月销售额</th>
          <th>月销售量</th>
          <th>周直播宝贝数</th>
          <th>月直播宝贝数</th>
          <th>周点赞数</th>
          <th>月点赞数</th>
          <th>周人气值</th>
          <th>月人气值</th>
          <th>日期</th>
        </tr>
      </thead>
      <tbody>
        <tr class="repeat-item" *ngFor="let list of vm.table.livers  | paginate: { itemsPerPage: param.rows, currentPage: vm.page, totalItems: vm.table.count,id:'liver_person_cat_table'};let $index = index;">
          <td>
            {{list.categoryName | categoryName}}
          </td>
          <td>{{list.sellMoney7Days | bigNum}}</td>
          <td>{{list.sellAmount7Days | bigNum}}</td>
          <td>{{list.sellMoney30Days | bigNum}}</td>
          <td>{{list.sellAmount30Days| bigNum}}</td>
          <td>{{list.productNum7Days | bigNum}}</td>
          <td>{{list.productNum30Days | bigNum}}</td>
          <td>{{list.praiseCount7Days | bigNum}}</td>
          <td>{{list.viewPraiseCount30Days | bigNum}}</td>
          <td>{{list.viewCount7Days | bigNum}}</td>
          <td>{{list.viewCount30Days | bigNum}}</td>
          <td>
            {{list.date | dateFormat}}
          </td>
        </tr>
        <tr *ngIf="vm.table.livers.length==0">
          <td colspan="12">暂无结果</td>
        </tr>
      </tbody>
    </table>
    <div class="center-align pt5">
      <pagination-controls class="center-align pt20" id="liver_person_cat_table" (pageChange)="pageChanged($event)" maxSize="9" directionLinks="true" autoHide="true">
      </pagination-controls>
    </div>
  </div>
</section>
